package com.tqw.order.constants;

/**
 * @Author: czm
 * @Date: 2022/04/19/10:40
 * @Description:订单状态常量
 */
public class OrderConstant {

    public static final String ALIPAY_ORDER_PAY = "1";

    public static final String ORDER_NO_PAY = "0";

    public static final String ORDER_PAID = "1";

    public static final String ORDER_CANCELED = "2";

    public static final String ORDER_CANCEL_TOPIC = "order-cancel-topic";

    public static final int ORDERFAIL = 208;

    /**
     * 默认发送消息超时时间
     */
    public static final long TIMEOUT = 3000;

    // 延迟消息 1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h (1-18)

    /**
     * 取消订单时间，实际上30分钟
     */
    public static final int CANCEL_ORDER_DELAY_LEVEL = 9;
}
